package com.ybkj.daijia.server.service;


import com.ybkj.daijia.common.Result;
import com.ybkj.daijia.page.Page;
import com.ybkj.daijia.server.sales.ActivityManage;
import com.ybkj.daijia.server.sales.ActivityManage.ServiceType;
import java.util.List;


/**
 * @author Shine
 */
public interface ActivityManageService {

    /**
     * 查询活动信息
     *
     * @return
     */
    public Page<ActivityManage> findAll();

    /**
     * 创建活动信息
     */
    public Result<ActivityManage> create(ActivityManage activityManage);

    public ActivityManage findOne(Long id);

    public Result<ActivityManage> delete(Long id);

    public Result<ActivityManage> update(ActivityManage activityManage);

    public Page<ActivityManage> queryByCompany(Long companyId, Integer page, Integer limit);

    public List<ActivityManage> queryIndex(Long companyId, ServiceType serviceType);

}
